From ee857cd261ba8409f582e3b9c8aa073f79774e7f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Feb 2015 11:11:09 -0500 Subject: [PATCH] icon browser: stop selecting We don't need the selection here. --- demos/icon-browser/iconbrowserwin.c | 7 ------- demos/icon-browser/window.ui | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/demos/icon-browser/iconbrowserwin.c b/demos/icon-browser/iconbrowserwin.c index 39db09661d..50709a08ff 100644 --- a/demos/icon-browser/iconbrowserwin.c +++ b/demos/icon-browser/iconbrowserwin.c @@ -71,11 +71,6 @@ set_image (GtkWidget *image, const gchar *name, gint size) gtk_image_set_pixel_size (GTK_IMAGE (image), size); } -static void -selection_changed (GtkIconView *icon_view, IconBrowserWindow *win) -{ -} - static void item_activated (GtkIconView *icon_view, GtkTreePath *path, IconBrowserWindow *win) { @@ -759,7 +754,6 @@ icon_browser_window_init (IconBrowserWindow *win) gtk_tree_model_filter_set_visible_func (win->filter_model, icon_visible_func, win, NULL); gtk_window_set_transient_for (GTK_WINDOW (win->details), GTK_WINDOW (win)); - g_signal_connect (win->searchbar, "notify::search-mode-enabled", G_CALLBACK (search_mode_toggled), win); @@ -794,7 +788,6 @@ icon_browser_window_class_init (IconBrowserWindowClass *class) gtk_widget_class_bind_template_child (GTK_WIDGET_CLASS (class), IconBrowserWindow, description); gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), search_text_changed); - gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), selection_changed); gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), item_activated); gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), selected_context_changed); gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), symbolic_toggled); diff --git a/demos/icon-browser/window.ui b/demos/icon-browser/window.ui index 1318b9a238..72eae953ce 100644 --- a/demos/icon-browser/window.ui +++ b/demos/icon-browser/window.ui @@ -108,7 +108,7 @@ True filter_model - + none -- 2.30.2